package cn.wolfcode.luowowo.search.query;

import cn.wolfcode.luowowo.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

/**
 * @author win
 */
@Setter
@Getter
public class StrategySearchQuery extends QueryObject {

    /**
     * 主题
     */
    public static final int CONDITION_TYPE_THEME_ID = 2;
    /**
     * 国外
     */
    public static final int CONDITION_TYPE_ABROAD = 3;
    /**
     * 国内
     */
    public static final int CONDITION_TYPE_CHINA = 1;

    /**
     * 排序规则, 默认根据点击量排序
     */
    private String orderBy = "viewnum";

    /**
     * 查询条件类型
     */
    private int type = -1;

    /**
     * 查询条件的值
     */
    private long typeValue = -1;
}
